package cloud.xlh.my_system.service.impl;

import cloud.xlh.domin.po.UserPO;
import cloud.xlh.my_system.mapper.login.custom.UserMapper;
import cloud.xlh.my_system.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2023/3/31 16:52
 * @ Description:
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public int register(UserPO userPO) {
        return userMapper.register(userPO);
    }

    @Override
    public List<UserPO> getAllSystemUser() {
        return userMapper.getAllSystemUser();
    }
}
